package cn.dkk.behavior_design.visitor;

/**
 * @author dkk
 * @date 2022/7/31
 * @desc
 */
public class Cat implements Pet{
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("喵喵喵");
    }
}
